package com.xuecheng.api.course;

import com.xuecheng.framework.domain.course.Teachplan;
import com.xuecheng.framework.domain.course.ext.CategoryNode;
import com.xuecheng.framework.domain.course.ext.TeachplanNode;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @author ：yuan_he_song
 * @date ：Created in 2019/5/13 21:40
 * @description：${description}
 */
@Api(value = "课程管理接口",description = "提供课程管理的增,删,该,查")
public interface CourseControllerApi {
    // 查询课程树形节点
    @ApiOperation("课程计划查询")
    TeachplanNode findTeachplanList(String courseId);

    // 添加课程计划
    @ApiOperation("添加课程计划")
    ResponseResult addTeachplan(Teachplan teachplan);

    // 我的课程列表
    @ApiOperation("查询我的课程列表")
    QueryResponseResult selectCourseList(int page, int size, String companyId);

    @ApiOperation("课程分类列表")
    CategoryNode selectCategory();
}
